package com.eies.common.service;


import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;

@WebServiceClient(name="Gt3AipWebService", targetNamespace="http://www.chinatax.gov.cn/spec/", wsdlLocation="http://10.3.77.174:7001/gt3aipservice?wsdl")
public class Gt3AipWebService_Service extends Service
{
  private static final URL GT3AIPWEBSERVICE_WSDL_LOCATION;
  private static final WebServiceException GT3AIPWEBSERVICE_EXCEPTION;
  private static final QName GT3AIPWEBSERVICE_QNAME = new QName("http://www.chinatax.gov.cn/spec/", "Gt3AipWebService");

  static {
    URL url = null;
    WebServiceException e = null;
    try {
      url = new URL("http://10.3.77.174:7001/gt3aipservice?wsdl");
    } catch (MalformedURLException ex) {
      e = new WebServiceException(ex);
    }
    GT3AIPWEBSERVICE_WSDL_LOCATION = url;
    GT3AIPWEBSERVICE_EXCEPTION = e;
  }

  public Gt3AipWebService_Service() {
    super(__getWsdlLocation(), GT3AIPWEBSERVICE_QNAME);
  }

  public Gt3AipWebService_Service(URL wsdlLocation)
  {
    super(wsdlLocation, GT3AIPWEBSERVICE_QNAME);
  }

  public Gt3AipWebService_Service(URL wsdlLocation, QName serviceName)
  {
    super(wsdlLocation, serviceName);
  }

  @WebEndpoint(name="Gt3AipWebServiceSoapPort")
  public Gt3AipWebService getGt3AipWebServiceSoapPort()
  {
    return (Gt3AipWebService)super.getPort(new QName("http://www.chinatax.gov.cn/spec/", "Gt3AipWebServiceSoapPort"), Gt3AipWebService.class);
  }

//  @WebEndpoint(name="Gt3AipWebServiceSoapPort")
//  public Gt3AipWebService getGt3AipWebServiceSoapPort(WebServiceFeature[] features)
//  {
//    return (Gt3AipWebService)super.getPort(new QName("http://www.chinatax.gov.cn/spec/", "Gt3AipWebServiceSoapPort"), Gt3AipWebService.class, features);
//  }

  private static URL __getWsdlLocation() {
    if (GT3AIPWEBSERVICE_EXCEPTION != null) {
      throw GT3AIPWEBSERVICE_EXCEPTION;
    }
    return GT3AIPWEBSERVICE_WSDL_LOCATION;
  }
}